xen: allow guests to set caching attributes for MMIOs
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 8 Apr 2010 14:30:52 +0000 (15:30 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 8 Apr 2010 14:30:52 +0000 (15:30 +0100)
commit750b06dbd9be59968e8d13d81f1a2462fa93b3aa
tree1037216d05ee8908391888bc2f10ae22148e12a8
parent4d6e834ba9ca29c92af3bd18980cde71fd68d304
xen: allow guests to set caching attributes for MMIOs

This patch allows guests that have directly mapped MMIO regions to set
the caching attributes for them, and only for them.
Currently we have just an on/off check for a directly assigned device
instead of looking for directly mapped MMIO regions.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/mm/shadow/multi.c
xen/include/asm-ia64/domain.h
xen/include/asm-x86/domain.h